// 以下是业务服务器API地址
  // var WxApiRoot = 'http://tencent.keyv8.com/';
  var WxApiRoot = 'http://192.168.0.111:8082/';
//  var WxApiRoot = 'https://demo.qxshop.xyz/';


module.exports = {
  MultipleSave: WxApiRoot + 'storage/multipleSave', //商户上传图片
  AuthRegister: WxApiRoot + 'wx/login', //账号注册
  LoginByCode: WxApiRoot + 'user/loginByCode', //验证码
  QueryGoods: WxApiRoot + 'wx/queryGoods', //全部商品
  GoodsDetail: WxApiRoot + 'wx/querySingleComm', //id查询单个商品
  Searchgoods: WxApiRoot + 'wx/queryfcomm', //搜索商品
  Addcart: WxApiRoot + 'wx/addShopCart', //详情页加入购物车
  Select: WxApiRoot + 'wx/queryUserCart', //查询购物车
  Group: WxApiRoot + 'wx/applyLeader', //成为团长
  NearGroup: WxApiRoot + 'wx/queryLeaderName', //输入查询团长
  DeleteCart: WxApiRoot + 'wx/deleteCart', //删除购物车
  AppendCartNum: WxApiRoot + 'wx/appendCartNum', //修改购物车数量
  SaveAddress: WxApiRoot + 'wx/saveAddress', //添加收货地址
  ListAddress: WxApiRoot + 'wx/listAddress', //获取收货地址
  DeleteAddress: WxApiRoot + 'wx/deleteAddress?id=', //获取收货地址
  AddressDetail: WxApiRoot + 'wx/addressDetail', //单个收货地址
  Balance: WxApiRoot + 'wx/pay/charge/balance', //余额充值
  ReplenishUserInfo: WxApiRoot + 'wx/user/replenishUserInfo', //用户的详细详细
  Phone: WxApiRoot + 'wx/phone', //手机号绑定
  GainUserBalance: WxApiRoot + 'wx/user/gainUserBalance', //余额积分查询
  Submit: WxApiRoot + 'wx/order/submit', //订单
  Catalog: WxApiRoot + 'wx/catalog/all', //分类
  QuerySortGoods: WxApiRoot + 'wx/catalog/querySortGoods', //分类下的物品
  QueryAllOrder: WxApiRoot + 'wx/order/queryAllOrder', //全部订单
  QueryOrderStatus: WxApiRoot + '/wx/order/queryOrderStatus?status=', //订单状态
  QueryOrderInfo: WxApiRoot + 'wx/order/queryOrderInfo?id=', //订单详情
  ToBePaidPay: WxApiRoot + 'wx/order/toBePaidPay?', //未支付支付
  CancelOrder: WxApiRoot + 'wx/order/cancelOrder?id=', //取消订单
  ApplyRefund: WxApiRoot + 'wx/order/applyRefund?id=', //申请退款
  ConfirmReGoods: WxApiRoot + 'wx/order/confirmReGoods?id=', //确认收货
  UpdateChecked: WxApiRoot + 'wx/updateChecked', //选择购物
  QueryAdvert: WxApiRoot + 'wx/content/queryAdvert', //广告查询
  QueryListGuide: WxApiRoot + 'content/queryListGuide', //购物指南
  QueryNearbyLeader: WxApiRoot + 'wx/queryNearbyLeader', //所有团长
  ApplyMerchant: WxApiRoot + 'wx/user/applyMerchant', //供货商
  QueryUserComm: WxApiRoot + 'wx/queryUserComm', //虚拟购买人数
  QueryLatelyLeader: WxApiRoot + '/wx/queryLatelyLeader', //z最近团长
  QueryGroupList: WxApiRoot + 'wx/group/queryGroupList', //获取团购商品列表
  QueryGroupIdInfo: WxApiRoot + 'wx/group/queryGroupIdInfo', //获取团购详情
  QueryCreateUseImg: WxApiRoot + '/wx/group/queryCreateUseImg', //获取团购详情
}